﻿using FarmSmartSleep.Common.Dtos;
using MediatR;

namespace FarmSmartSleep.Organ.API.Application.SleepWeightCommands
{
    public class SleepWeightCreateCommand:IRequest<Result>
    {
        public int SleepWeightId { get; set; }
        /// <summary>
        /// 称重日期
        /// </summary>
        public DateTime WeightDate { get; set; }= DateTime.Now;
        /// <summary>
        /// 羊只耳号
        /// </summary>
        public string EarNumber { get; set; }
        /// <summary>
        /// 称重类型
        /// </summary>
        public int WeightType { get; set; }
        /// <summary>
        /// 重量
        /// </summary>
        public decimal Weight { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }=DateTime.Now;
    }
}
